package com.wyl.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description 菜单表
 * @Author WuYiLong
 * @Date 2024-12-02
 */
@Data
@ApiModel(value = "SysMenuDto对象", description = "菜单表")
public class SysMenuDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "重定向路径")
    private String redirectPath;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "中文名称")
    private String label;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "菜单类型")
    private Integer type;

    @ApiModelProperty(value = "是否隐藏")
    private Integer isHidden;

    @ApiModelProperty(value = "权限标识")
    private String code;

    @ApiModelProperty(value = "访问路径")
    private String url;

}
